#include<stdio.h>
const double PI=3.1415;
int main()
{
	double r;
	scanf("%lf",&r);
	printf("%lf  %lf",PI*2*r,PI*r*r);
	return 0;
}
